import { createSSRApp } from 'vue'
import pinia from './stores'  //引入
import App from './App.vue'

import config from '@/config/index.js'

const imgUrl = config.img_url
uni.imgUrl = imgUrl


export function createApp() {
  const app = createSSRApp(App)
  app.use(pinia);
  return {
    app
  }
}